package model

import (
	"time"
)

type QuitClub struct {
	ID        int       `gorm:"primary-key;column:id"`
	CID       int       `gorm:"not null;column:cid"`
	UID       int       `gorm:"not null;column:UID"`
	ApplyTime time.Time `gorm:"not null;column:apply_time"`
	Reason    string    `gorm:"column:Reason"`
	State     int       `gorm:"not null;column:state"`
	Remark    string    `gorm:"column:remark"`
}

type QuitClubToUser struct {
	ID            int       `json:"id"`
	ApplyID       int       `json:"apply_id"`
	ApplyTime     time.Time `json:"applyTime"`
	UID           int       `json:"uid"`
	UName         string    `json:"uname"`
	CID           int       `json:"cid"`
	CName         string    `json:"cname"`
	Reason        string    `json:"reason"`
	ApprovalState int       `json:"approval_state"`
}
